<?php

namespace app\admin_module\controllers;

use Yii;
use yii\web\Controller;

/**
 * Default controller for the `admin` module
 */
class DefaultController extends CommonController
{
    public static $permissionDesc=false;
    /**
     * Renders the index view for the module
     * @return string
     */
    public $layout='layout';
    public function actionIndex()
    {
        return $this->render('index');
    }

    public function actionIframe()
    {
        $authManager=Yii::$app->authManager;
        print_r($authManager->getPermissions());
       // return $this->render('iframe');
    }
}
